//
//  NewSportNetworking.h
//  SportRing
//
//  Created by 微我网络 on 15/1/30.
//  Copyright (c) 2015年 HotOne. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LGBaseDataSource.h"

@interface NewSportNetworking : LGBaseDataSource

+ (void)getRecordWithDate:(NSString *)date success:(CompletionBlockWithArray)success fail:(CompletionBlockWithError)fail;
+ (void)getTaskWithDate:(NSString *)date success:(CompletionBlockWithDictionary)success fail:(CompletionBlockWithError)fail;

+ (void)getRecordsWithStart:(NSString *)start end:(NSString *)end success:(CompletionBlockWithArray)success fail:(CompletionBlockWithError)fail;
+ (void)getTasksWithStart:(NSString *)start end:(NSString *)end success:(CompletionBlockWithArray)success fail:(CompletionBlockWithError)fail;

+ (void)getSleepRecordsWithStart:(NSString *)start end:(NSString *)end success:(CompletionBlockWithArray)success fail:(CompletionBlockWithError)fail;
+ (void)getSleepRecordWithDate:(NSString *)date success:(CompletionBlockWithDictionary)success fail:(CompletionBlockWithError)fail;

@end
